package com.zhiyou.app.shop.website.service;

import java.util.List;

import com.zhiyou.app.shop.common.util.Page;
import com.zhiyou.app.shop.website.dao.pojo.EpComplain;
import com.zhiyou.app.shop.website.dao.pojo.EpList;
import com.zhiyou.app.shop.website.dao.pojo.User;

public interface IEpListService {

	void saveEpTrade(String account, EpList ep);
	
	List findOnSale(String status, String account, int startNum,int pagesize);
	Integer findOnSaleCnt(String status, String account);
	
	
	EpList findbyId(String id);
	
	void update(EpList ep);
	
	void saveEp(User user,EpList ep, String isNotice);
	
	List findepbyuser(String account,int startNum,int pagesize);
	Integer findepCntbyuser(String account);
	
	void epRemit(EpList ep);
	
	void epTradeSuc(EpList ep);
	
	List<EpList> findEpTrading();
	
	void findEp(Page page, EpList ep);
	
	void delete(EpList ep);
	
	void epCancel(String id);
	
	List findEpList(String buy, String sale, int startNum, int pagesize);
	Integer findEpListCnt(String buy, String sale);
	
	void saveEpComplain(EpList ep, EpComplain epComplain);
}
